LOCAL_PATH  := $(call my-dir)

include $(CLEAR_VARS)

SRC_FILE_LIST := $(wildcard $(LOCAL_PATH)/source/*/*.cpp)
SRC_FILES := $(SRC_FILE_LIST:$(LOCAL_PATH)/%=%)

LOCAL_MODULE:= LifecycleRuntime
LOCAL_SRC_FILES:= $(SRC_FILES)
LOCAL_C_INCLUDES = $(LOCAL_PATH)/include
LOCAL_STATIC_LIBRARIES := android_native_app_glue
LOCAL_CFLAGS += -DLCT_DEBUG
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include
LOCAL_EXPORT_LDLIBS := -llog

include $(BUILD_STATIC_LIBRARY)

$(call import-module,android/native_app_glue)